// eslint-disable-next-line @typescript-eslint/no-unused-vars
const baseUrl = "http://47.113.109.240:8080";

import axios from "./index";

const api = {
  // 获取今日产蛋,抽蛋,留窝,放仔的鸽笼数量
  getTodayCountn(params) {
    return axios.get(baseUrl + "/bi/today/count", { params: params });
  },

  // 获取当天抽蛋和留窝数据的数量以及较昨天的差值
  getTodayEggAndWhippingSum(params) {
    return axios.get(baseUrl + "/app/eggAndWhipping/eggAndWhippingSum", { params: params });
  },
};

export default api;
